package com.oa.modules.approvalsec1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.oa.common.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jiangwei
 * @date 2021-03-15 16:53:56
 */
@Data
@TableName("appointment_matter")
public class AppointmentMatterEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 状态(0:是 1:否)
     */
    @ApiModelProperty(value = "状态(0:是 1:否)")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id")
    private String createOper;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateDate;
    /**
     * 最后修改人
     */
    @ApiModelProperty(value = "最后修改人")
    private String updateOper;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String phone;
    /**
     * 预约的类别   0预约上门
     */
    @ApiModelProperty(value = "预约的类别")
    private String matterType;
    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(timezone = "GMT+8", pattern = DateUtils.DATE_TIME_PATTERN)
    private Date matterTime;
    /**
     * 简介描述
     */
    @ApiModelProperty(value = "简介描述")
    private String matterContent;

}
